home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / i_l / irit5 / illustrt / makefile.tc < prev    next >
Makefile  |  1995-12-30  |  1KB  |  41 lines

  1. #
  2. #
  3. # This make file is for the illustrt program for Borland C++ 2.0
  4. # (Using Ansi C though).
  5. #
  6. #                    Gershon Elber, June 1993
  7. #
  8.  
  9. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  10. # .SWAP
  11.  
  12. # Includes generic definitions.
  13. !include "..\makeflag.tc"
  14.  
  15. OBJS =  illustrt.obj intersct.obj spltsort.obj
  16.  
  17. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  18. # choke on them (the { } signals batch mode that combines few operation at the
  19. # same time - very nice feature!).
  20. .c.obj:
  21.     $(CC) -I$(INC_DIR) $(CFLAGS) {$< }
  22.  
  23. illustrt.exe: $(OBJS)
  24.     $(LNK) @&&!
  25. $(TC_LIB_DIR)\c0l+
  26. $(OBJS)
  27. illustrt.exe
  28. illustrt.map
  29. $(LIBS)
  30. !$(LFLAGS)
  31.  
  32. install: illustrt.exe
  33.     copy illustrt.exe $(BIN_DIR)
  34.     del illustrt.exe 
  35.     copy illustrt.cfg $(BIN_DIR)
  36.  
  37. # Dependencies starts here - do not touch, generated automatically.
  38. illustrt.obj:    program.h ../include/config.h ../include/iritgrap.h ../include/allocate.h ../include/poly_cln.h ../include/geomat3d.h ../include/getarg.h ../include/ip_cnvrt.h
  39. intersct.obj:    program.h ../include/imalloc.h ../include/ln_sweep.h
  40. spltsort.obj:    program.h ../include/imalloc.h
  41.